package com.yanfei.zero.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.yanfei.zero.domain.order.model.OrderItem;
import com.yanfei.zero.domain.order.model.OrderPO;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@Entity
@Table(name="yf_product")
@Schema(description = "商品")  
public class Goods {
	public Goods(){
		
	}
	@Id
	@Schema(name = "商品ID", example = "1001")
	private String productId;  
	@Schema(name = "商品名称", example = "商品1")  
	private String productName;  
	@Schema(name = "商品价格", example = "100.00")  
	private BigDecimal productPrice;  
	@Schema(name = "商品库存", example = "100")  
	private Integer productStock; 
	@Schema(name = "商品图片", example = "100")  
	private String pics; 
}
